//
//  HomeViewController.h
//  W2MD
//
//  Created by zhudongwei on 14-9-15.
//  Copyright (c) 2014年 zhudongwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FilterLevel2View.h"
#import "SVPullToRefresh.h"
#import "CycleScrollView.h"
#import "NSTimer+Addition.h"
#import <AVFoundation/AVFoundation.h>
@interface HomeViewController : UICollectionViewController<UIScrollViewDelegate,UIPickerViewDataSource,UIPickerViewDelegate,AVAudioPlayerDelegate>

@property(nonatomic,strong)UIButton *rightBtn;
@property(nonatomic,strong)IBOutlet UIButton *leftBtn;
@property (nonatomic,strong) NSMutableArray *kuanshiDataArr;
@property (nonatomic,assign) int kuanshi1OutTimes;
@property (nonatomic,assign) BOOL iPhone;
@property (nonatomic,strong) UIImageView *tuan;
@property (nonatomic,strong) UIImageView *tuan1;
@property (nonatomic,strong) UIImageView *peise;
@property (nonatomic,strong) UIImageView *kuanshi;
@property (nonatomic,strong) UIButton *leftArrow;
@property (nonatomic,strong) UIButton *rightArrow;
@property (nonatomic,strong) NSMutableArray *kuanshi2FrameArr;
@property (nonatomic,strong) UIVisualEffectView *effectviewk;
@property (nonatomic,strong) UIImageView *selectedView1;
@property (nonatomic,strong) UIImageView *selectedView2;
@property (nonatomic,strong) UIImageView *selectedView3;
@property (nonatomic,strong) UIImageView *selectedView4;
@property (nonatomic,strong) UILabel *selectedLab1;
@property (nonatomic,strong) UILabel *selectedLab2;
@property (nonatomic,strong) UIScrollView *scroll2CVView;
@property (nonatomic,strong) UIScrollView *scroll3CVView;
@property (nonatomic,strong) UIScrollView *scroll4CVView;
@property (nonatomic,strong) UIScrollView *scroll4CVView1;
@property (nonatomic,strong) NSArray *indexArr;
@property (nonatomic,strong) UISwipeGestureRecognizer *swipeR;
@property (nonatomic,strong) UISwipeGestureRecognizer *swipeL;
@property (nonatomic,strong) UIPickerView *datePicker;
@property (nonatomic,assign) BOOL changed;
@property (nonatomic,assign) NSUInteger hourIndex;
@property (nonatomic,strong) UITableView *clockTableView1;
@property (nonatomic,strong) UITableView *clockTableView2;
@property (nonatomic,strong) NSMutableArray *weekArr;
@property (nonatomic,strong) UITableView *clockSettingTable;
@property (nonatomic,strong) NSMutableArray *weekSArr;
@property (nonatomic,strong) UITableView *clockTable;
@property (nonatomic,strong) AVAudioPlayer *avAudioPlayer;
@property (nonatomic,strong) NSTimer *timer;
@property (nonatomic,strong) UISegmentedControl *seg;
@property (nonatomic,assign) BOOL notiArr;
@property (nonatomic,assign) int segIndex;
@property (nonatomic,strong) NSMutableArray *buttonArr;
@property (nonatomic,assign) int selectIndex;
@property (nonatomic,assign) int refreshed;
@property (nonatomic,strong) UILabel *cellBtn1;
@property (nonatomic,strong) UILabel *cellBtn2;
@property (nonatomic,strong) UILabel *cellBtn3;
@property (nonatomic,strong) UILabel *cellBtn4;
@property (nonatomic,assign) BOOL sleep;
@property (nonatomic,assign) int refreshNum;
@property (nonatomic,strong) UIButton *button1;
@property (nonatomic,strong) UIButton *button2;
@property (nonatomic,strong) UIButton *button3;
@property (nonatomic,strong) UIButton *button4;


-(void)addSearchObjectWithLevel1:(NSString*)level1 withLevel2:(NSString*)level2 withLevel2Key:(NSDictionary*)level2Key;
-(IBAction)leftBtnAction:(id)sender;
-(IBAction)rightBtnAction:(id)sender;
@end
